package com.wyh.Mapper;

import com.wyh.pojo.Plan;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface PlanMapper {
    public List<Plan> getPlanList();

    public Plan getPlanByName(String  name);

    public Plan getPlanByLeaderId(int  id);

    public Plan getPlanById(int  id);

    public int updatePlan(Plan Plan);

    public int addPlan(Plan Plan);

    public int deletePlan(int id);
}
